#ifndef __PWM_H
#define __PWM_H

#include "sys.h"

extern uint8_t lightFlag;

#define LED_htim htim3
#define LED_TIM_CH TIM_CHANNEL_3

void LEDPWM_Init(uint16_t psc, uint16_t arr);

void LED_task(void);
void PWM_GPIO_Init(void);

#endif
